﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LeadVinaglue.Models.ViewPages
{
    public class ProductManagementModel : BaseManagementModel
    {
        public List<ProductModel> ListProduct { get; set; }
        public List<OptionModel> ListCategory { get; set; }
        public List<OptionModel> ListSubCategory { get; set; }
        public List<PaymentModel> ListProductPayment { get; set; }
        public List<OptionModel> ListProductGroup { get; set; }
        public List<OptionModel> ListProductOption { get; set; }
        public List<Language> ListLanguage { get; set; }
        public List<DocumentType> ListDocumentType { get; set; }
        public List<PaymentModel> PaymentList { get; set; }

        public List<OptionModel> ListProductStatus { get; set; }
        public List<OptionModel> ListRangeTime { get; set; }
        public Product ProductInfo { get; set; }

        public string Keywords { get; set; }
        public string FieldName { get; set; }
        public string ProductImageUrl { get; set; }
    }

    public class ProductModel : Product
    {
        public string Start { get; set; }
        public string End { get; set; }
        public string CreationDate { get; set; }
        public string ProductState { get; set; }
    }

    public class ProductPrintModel : BaseManagementModel
    {
        // Product Info
        public string Id { get; set; }
        public string Title { get; set; }
        public string ShortDesc { get; set; }
        public string DateCreated { get; set; }
        public string CategoryName { get; set; }
        public string SubCategoryName { get; set; }
        public PTPrintModel ProductTransactionInfo { get; set; }
    }

    public class PTPrintModel
    {
        // Product Transaction
        public string OptionName { get; set; }
        public string PaymentName { get; set; }
        public string Price { get; set; }
        public string UnitPrice { get; set; }
        public string StartDate { get; set; }
        public string EndDate { get; set; }
        public string TransactionGuid { get; set; }
        public string TransactionDate { get; set; }
    }
}
